<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SearchOptionsFrm.aspx.cs" Inherits="BizElements.Web.UI.SearchOptionsFrm" meta:resourcekey="Page" %>
<%@ Register Assembly="BizElements.Web" Namespace="BizElements.Web" TagPrefix="biz" %>
<%@ Register Src="~/Common/FormFooter.ascx" TagName="FormFooter" TagPrefix="uc2" %>
<%@ Register Src="~/Common/FormHeader.ascx" TagName="FormHeader" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <link href="/Styles/Main.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript">
        function CancelEditing()
        {
            window.close();
            return false;
        }
    </script>
</head>
<body class="body-background" oncontextmenu="return false;" onkeydown="if (event.keyCode == 13) return false;" style="margin:0px">
    <form id="form1" runat="server">
    <div>
        <table style="text-align:center; width:95%; margin:10px" border="0" cellpadding="0" cellspacing="0">
            <tr><td><uc1:FormHeader ID="uiHeader" runat="server" meta:resourcekey="uiHeader" /></td></tr>
            <tr>
		        <td class="table-border-grey" style="text-align:left">	
		            <table class="font-bold-grey" style="width:100%" cellspacing="1" cellpadding="2" border="0">
		                <tr>
		                    <td><biz:bounddatagrid id="uiDisplayFieldSettings" Width="100%" runat="server"></biz:bounddatagrid></td>
		                </tr>
		                <tr>
		                    <td>&nbsp;</td>
		                </tr>
		                <tr>
		                    <td style="white-space:nowrap">
		                        <asp:Label ID="uiDefaultSortCaption" runat="server" meta:resourcekey="uiDefaultSortCaption"></asp:Label>
		                        <biz:BoundDropDownList runat="server" ID="uiDefaultSort"></biz:BoundDropDownList>
		                    </td>
		                </tr>
		                <tr>
		                    <td>&nbsp;</td>
		                </tr>
		                <tr>
		                    <td>
		                        <table border="0" cellpadding="2" cellspacing="0">
		                            <tr>
		                                <td style="width:100%">&nbsp;</td>
		                                <td style="white-space:nowrap;"><biz:TemplateButton ID="uiResetAll" runat="server" OnClick="uiResetAll_Click" SkinID="TemplateButtonSub" meta:resourcekey="uiResetAll" /></td>
		                                <td><biz:TemplateButton ID="uiSave" runat="server" OnClick="uiSave_Click" SkinID="TemplateButtonSub" meta:resourcekey="uiSave" /></td>		                                
		                                <td><biz:TemplateButton ID="uiCancel" runat="server" OnClientClick="return CancelEditing();" SkinID="TemplateButtonSub" meta:resourcekey="uiCancel" /></td>
		                            </tr>
		                        </table>		                        
		                    </td>
		                </tr>
		            </table>
		        </td>
            </tr>
            <tr><td><uc2:FormFooter ID="FormFooter1" runat="server" /></td></tr>
        </table>
    </div>
    <asp:Panel ID="uiCaptions" runat="server" Visible="false">
        <asp:Localize ID="uiFieldCaption" runat="server" meta:resourcekey="uiFieldCaption"></asp:Localize>
        <asp:Localize ID="uiHiddenCaption" runat="server" meta:resourcekey="uiHiddenCaption"></asp:Localize>
        <asp:Localize ID="uiOrdinalCaption" runat="server" meta:resourcekey="uiOrdinalCaption"></asp:Localize>
    </asp:Panel>
    </form>
</body>
</html>
